package com.aldd.service;

import com.aldd.entity.Dept;

import java.util.List;

public interface DeptService {
    //查询全部
    List<Dept> selectAllDept();

    //根据id查询
    Dept selectDeptById(int id);

    //根据id删除
    Boolean deleteDeptById(int id);

    //添加
    void insertDept(Dept dept);

    //修改
    void updateDept(Dept dept);
}
